package payroll.webapp

class AuthController {
	def beforeInterceptor = [action:this.&auth]
	
	def auth() {
		if (!session.login) {
			redirect(controller:'login')
			return false
		}
	}
}
